@echo off

set MW2DIR=D:\Steam\SteamApps\common\Callof~1

if exist %MW2DIR%\mods\MagicWarfare rmdir %MW2DIR%\mods\MagicWarfare /S /Q
mkdir %MW2DIR%\mods\MagicWarfare

xcopy ".\scripts" "%MW2DIR%\mods\MagicWarfare" /E /Y /C /I

exit